export const brandName = '欢迎来到Polaris'

// dev开发环境配置
let _serverIp = 'http://localhost'
let _port = '8090'
let _baseURL = `${_serverIp}:${_port}`

// 测试环境
if (process.env.NODE_ENV === 'testing') {
    _port = ''
    _baseURL = `${_serverIp}:${_port}`
}
// 发布环境
if (process.env.NODE_ENV === 'production') {
    // _port = ''
    // _serverIp = 'http://www.weisw.com'
    // _serverIp = ''
    // _baseURL = `${_serverIp}:${_port}`
}

export const serverIp = _serverIp
export const path ='/api'
export const timeout ='15000' // 接口超时限制（ms）
export const baseURL =_baseURL
